package month4.day15;

public class S7 {
    public static void main(String[] args) {
        String s1 = "zhangsan 是个大坏蛋#$#@$!@";
        for (int i = 0; i < s1.length(); i++) {
            if ((s1.charAt(i) >= 65 && s1.charAt(i) <= 90) || (s1.charAt(i) >= 97 && s1.charAt(i) <= 122)) {
                System.out.print(s1.charAt(i));
            }
        }
    }
}
